package com.kitten.note.biz.model.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @author kitten
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class LikeUnLikeNoteMqDTO {
    /**
     * 发起点赞/取消点赞用户Id
     */
    private Long userId;
    /**
     * 被点赞/取消点赞的用户Id
     */
    private Long noteCreatorId;
    /**
     * 被点赞/取消点赞的笔记Id
     */
    private Long noteId;
    /**
     * 点赞/取消点赞类型
     */
    private Integer type;

    private LocalDateTime createTime;

}
